package com.itheima.pojo;

/**
 * @author swy
 * @date 2019-12-13 22:29
 */
public class History {
    private Integer id;
    private String previous;//既往史
    private String family;//家族史
    private String allergy;//过敏史
    private String medical;//病史
    private String chronic;//慢性病
    private Integer member;//会员id

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPrevious() {
        return previous;
    }

    public void setPrevious(String previous) {
        this.previous = previous;
    }

    public String getFamily() {
        return family;
    }

    public void setFamily(String family) {
        this.family = family;
    }

    public String getAllergy() {
        return allergy;
    }

    public void setAllergy(String allergy) {
        this.allergy = allergy;
    }

    public String getMedical() {
        return medical;
    }

    public void setMedical(String medical) {
        this.medical = medical;
    }

    public String getChronic() {
        return chronic;
    }

    public void setChronic(String chronic) {
        this.chronic = chronic;
    }

    public Integer getMember() {
        return member;
    }

    public void setMember(Integer member) {
        this.member = member;
    }

    @Override
    public String toString() {
        return "History{" +
                "id=" + id +
                ", previous='" + previous + '\'' +
                ", family='" + family + '\'' +
                ", allergy='" + allergy + '\'' +
                ", medical='" + medical + '\'' +
                ", chronic='" + chronic + '\'' +
                ", member=" + member +
                '}';
    }
}
